#!/bin/bash

cp  -f /ext/cron  /etc/cron.d/cron
touch /var/log/cron.log
crontab /etc/cron.d/cron
cron
php-fpm &
cp  -f /ext/nginx.conf   /etc/nginx/nginx.conf
cp  -f /ext/php.conf /etc/nginx/sites-enabled/default
service nginx start
cp  -f /ext/supervisord.conf /etc/supervisord.conf
supervisord -c /etc/supervisord.conf &
tail -f /var/log/cron.log

